<html>
<head><meta charset="utf-8"><title>ANSI escape code color support · t-compiler/cargo-bisect-rustc · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/index.html">t-compiler/cargo-bisect-rustc</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/ANSI.20escape.20code.20color.20support.html">ANSI escape code color support</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="196083687"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/ANSI%20escape%20code%20color%20support/near/196083687" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/ANSI.20escape.20code.20color.20support.html#196083687">(May 03 2020 at 04:17)</a>:</h4>
<p><a href="https://github.com/rust-lang/cargo-bisect-rustc/pull/79" title="https://github.com/rust-lang/cargo-bisect-rustc/pull/79">https://github.com/rust-lang/cargo-bisect-rustc/pull/79</a> adds ANSI escape code color support and std stream output formatting improvements.</p>



<a name="196175507"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/ANSI%20escape%20code%20color%20support/near/196175507" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/ANSI.20escape.20code.20color.20support.html#196175507">(May 04 2020 at 12:50)</a>:</h4>
<p><span class="user-mention silent" data-user-id="262810">Chris Simpkins</span> <a href="#narrow/stream/217417-t-compiler.2Fcargo-bisect-rustc/topic/ANSI.20escape.20code.20color.20support/near/196083687" title="#narrow/stream/217417-t-compiler.2Fcargo-bisect-rustc/topic/ANSI.20escape.20code.20color.20support/near/196083687">said</a>:</p>
<blockquote>
<p><a href="https://github.com/rust-lang/cargo-bisect-rustc/pull/79" title="https://github.com/rust-lang/cargo-bisect-rustc/pull/79">https://github.com/rust-lang/cargo-bisect-rustc/pull/79</a> adds ANSI escape code color support and std stream output formatting improvements.</p>
</blockquote>
<p>Merged</p>



<a name="196205653"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/ANSI%20escape%20code%20color%20support/near/196205653" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/ANSI.20escape.20code.20color.20support.html#196205653">(May 04 2020 at 16:28)</a>:</h4>
<p><span class="user-mention" data-user-id="116266">@Santiago Pastorino</span> Can we push a release so that <span class="user-mention" data-user-id="133247">@bjorn3</span> can confirm that the ANSI codes play nicely with the new bisect-rustc bot in development?</p>



<a name="196206099"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/ANSI%20escape%20code%20color%20support/near/196206099" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/ANSI.20escape.20code.20color.20support.html#196206099">(May 04 2020 at 16:31)</a>:</h4>
<p>I am currently not reading the actual output of <code>cargo bisect-rustc</code>, as I don't seem to be able to access the logs using the api. Instead I just post a link to the github actions run.</p>



<a name="196207267"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/ANSI%20escape%20code%20color%20support/near/196207267" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Chris Simpkins <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/ANSI.20escape.20code.20color.20support.html#196207267">(May 04 2020 at 16:39)</a>:</h4>
<p><span class="user-mention" data-user-id="133247">@bjorn3</span> Got it. Thanks.  Do you know if Actions supports ANSI escape codes?  IIRC they are supported on Travis</p>



<a name="196207600"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/217417-t-compiler/cargo-bisect-rustc/topic/ANSI%20escape%20code%20color%20support/near/196207600" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/217417-t-compiler/cargo-bisect-rustc/topic/ANSI.20escape.20code.20color.20support.html#196207600">(May 04 2020 at 16:42)</a>:</h4>
<p>Actions seems to strip it away completely. It doesn't even show colors in the log view:</p>
<p>At <a href="https://github.com/bjorn3/rustc_codegen_cranelift/runs/641843380?check_suite_focus=true#step:10:255" title="https://github.com/bjorn3/rustc_codegen_cranelift/runs/641843380?check_suite_focus=true#step:10:255">https://github.com/bjorn3/rustc_codegen_cranelift/runs/641843380?check_suite_focus=true#step:10:255</a> <code>hyperfine</code> should emit colors, but github actions shows none.</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>